package com.yawn.demomybatisxml.mapper;

import com.yawn.demomybatisxml.entity.Person;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PersonMapper {

    Person get(int id);

    List<Person> list();

    int add(Person person);
}
